<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//登录记录
class Login_log extends CommonController {

	function __construct(){
		
		parent::__construct();
		$this->load->model('User/LoginLogModel','CurModel');
		
		
	}
	
	
	//start
	/**
	* @name 获取列表
	* @param page ture char 页面
	* @param size ture char 数量
	* @return 成功返回1
	*/
	//end
	function get_list(){
		$user_id = $this->user_id;
		
		$filter = array();
		$arr = array(
			'filter'=>$filter
		);
		
		$result = parent::_get_list($arr);
		if(!$result){
			$this->err_out($this->getError());
		}

		
		$this->data_out($result);
	}
	
	function info_out($info){
		
		$info['addtime'] = date('Y-m-d H:i:s',$info['addtime']);
		
		
		return $info;
	}
	
	
}
